<?php
header("Content-type: text/html; charset=utf-8");
$res = file_get_contents("https://detail.tmall.com/item.htm?id=547139511949");
$content = mb_convert_encoding($res,"UTF-8","GBK");
preg_match('/<h3 class="tb-main-title" data-title="([^"]+)">/',$content,$match);
$title = $match[1];


